package lng.site.balafon.dao;


import java.util.List;

import lng.site.balafon.model.Membre;
/**
 * <p>Generic DAO layer for Membres</p>
 * <p>Generated at Thu Aug 02 21:53:17 CEST 2012</p>
 *
 * @author Salto-db Generator v1.0.16 / EJB3 + Spring/Hibernate DAO + TestCases
 * @see http://www.hibernate.org/328.html
 */
public interface MembreDAO extends GenericDAO<Membre,Integer> {

	/*
	 * TODO : Add specific businesses daos here.
	 * These methods will be overwrited if you re-generate this interface.
	 * You might want to extend this interface and to change the dao factory to return 
	 * an instance of the new implemenation in buildMembreDAO()
	 */
	  	 
	/**
	 * Find Membre by login
	 */
	public List<Membre> findByLogin(String login);

	/**
	 * Find Membre by mdp
	 */
	public List<Membre> findByMdp(String mdp);

	/**
	 * Find Membre by email
	 */
	public List<Membre> findByEmail(String email);

	/**
	 * Find Membre by formation
	 */
	public List<Membre> findByFormation(String formation);

}